<!-- DJ -->
{*}
<h2>{$smarty.const.LA_MEMBER_LOGIN}</h2>
{$MSG}
{/*}
<div align="center" style="margin-top:20px;">
	<!-- Login box -->
	<table border="0" cellspacing="0" cellpadding="10" class="box" style="width:250px">
	<tr>
			<td class="detail_demas" valign="top" align="left"><b>{$smarty.const.LA_LOGIN}</b></td></tr>
			<tr><td>{*}{$smarty.const.LA_LOGIN_TEXT}<br /><br />{/*}
			<form method="post" action="member_login.php">
			<input type="hidden" name="redirect_to" value="{$SENDTO}" />
			
			{$smarty.const.USERID_TEXT}:<br />
			<input type="text" class="txt" id="username" name="username" value="{$USERNAME}" size="30" />
			<p></p>
			
			{$smarty.const.ADD_USER_PASS}:<br />
			<input type="password" class="txt" name="password" value="{$PASSWORD}" size="30"/><br />
			<p style="text-align:center"><input type="submit" name="submit" class="button" value="{$smarty.const.LA_LOGIN}" /></p>
			
			
			</form>
			</td>
	</tr>
	</table>
	<a href="register.php" style="text-decoration:none;">
			<img src="layout_images/pointer.gif" border="0" alt="" />{$smarty.const.LA_ADD_USER_SESSION}</a><br />
	<span onclick="forgot();" style="cursor: pointer;">&iquest;Olvid&oacute; su contrase&ntilde;a?</span>
	<!-- Forgotten password box -->    
	<table  id="olvide_pass"  border="0" cellspacing="0" cellpadding="10" class="box" style="width:250px; display: none">
	<!-- thead-->	
		<tr>
		<td class="detail_demas">{$smarty.const.LA_FORGOTTEN_PASSWORD}</td>
		</tr>
	<!--  /thead-->
	<tbody>
	<tr>
		<td style="color:#222222 !important;">
			<div valign="top">{$smarty.const.LA_FORGOT}
			<form method="post" action="member_login.php"><p></p>
				{$smarty.const.ADD_USER_EMAIL} : <br/>
				<input type="text" name="email" class="txt" /><br />  
			    <p><input type="submit" class="button" name="forgot" value="{$smarty.const.LA_FORGOT_SEND_MAIL_TITLE}" /></p>
			</form>
			</div>
		</td>
	</tr>
	</tbody>
	</table>

	<!-- Forgotten password box END -->    
</div>

{literal}
<script language="javascript" type="text/javascript">

content=document.getElementById("username");
if( content != null )
	{content.focus();}


function forgot() {
	jQuery("#olvide_pass").toggle("slow");
}
</script>
{/literal}